﻿using StarryEdge.Core.Enums;
using StarryEdge.Core.Models.Interact.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarryEdge.Core.Models
{
    public class HandleContext<T>
    {
        public string TaskName { get; set; }
        public DeviceTypes DeviceType { get; set; }
        public T Address_Signal { get; set; }
        public T Address_Struct { get; set; }
        public int Struct_Length { get; set; }
        public int DeviceIndex { get; set; }
        public string AddressingMethod { get; set; }
        public string ServiceName { get; set; }
        public string Extra { get; set; }
        public bool IsScheduledTask { get; set; }
        public List<BatteryTaskModel<T>> BatteryTasks { get; set; }
        public Dictionary<string, object> Data { get; set; }
    }
}
